package com.jiliang.common.constant;

/**
 * @author YanShuang
 * @explain
 * @since 2018/7/14 14:23
 */
public class CommonDsConstant {

    /**
     * 是否可用
     */
    public static final Short IS_ENABLED_VAL = 1;
    public static final Short IS_NOT_ENABLED_VAL = 0;
    /**
     * 是否只读
     */
    public static final Short IS_READ = 1;
    public static final Short IS_NOT_READ = 0;
    /**
     * 排序
     */
    public static final Integer DEFAULT_SORT_VALUE = 1;
    public static final Integer DEFAULT_SORT_DESC_VALUE = 0;
    /**
     * 是否可用
     */
    public static final Short IS_ENABLED = 1;
    public static final Short IS_NOT_ENABLED = 0;

    /**
     * 是否默认
     */
    public static final Byte IS_DEFAULT = 1;
    public static final Byte IS_NOT_DEFAULT = 0;
    /**
     * 是否自动
     */
    public static final Byte IS_AUTO = 1;
    public static final Byte IS_NOT_AUTO = 0;
    /**
     * 默认值
     */
    public static final Byte DEFAULT_BYTE_YES = 1;
    public static final Byte DEFAULT_BYTE_NO = 0;
    /**
     * 分隔符（逗号、竖杠、美元符号）
     */
    public static final String DELIMITER_DH = ",";
    public static final String DELIMITER_SG = "|";
    public static final String DELIMITER_SG_ZY = "\\|";
    public static final String DELIMITER_DL = "$";
    public static final String DELIMITER_DL_ZY = "\\$";
    public static final String DELIMITER_X = "*";
    public static final String DELIMITER_KONG = "";
    public static final String DELIMITER_BF = "%";
    public static final String DELIMITER_XG = "/";
    public static final String DELIMITER_XHX = "_";
    public static final String DELIMITER_XSD = ".";
    /**
     * 默认页数和行数
     */

    public static final Integer PAGE_NUM = 1;
    public static final Integer PAGE_SIZE = 10;

    /**
     * 是否（字符串类型小写）
     */
    public static final String TRUE_LOWER_STRING = "true";
    public static final String FALSE_LOWER_STRING = "false";

    /**
     * 是否（字符串类型大写）
     */
    public static final String TRUE_STRING = "TRUE";
    public static final String FALSE_STRING = "FALSE";

    /**
     * 成功失败（字符串类型小写）
     */
    public static final String SUCCESS_LOWER_STRING = "success";
    public static final String FAIL_LOWER_STRING = "fail";

    /**
     * 成功失败（字符串类型大写）
     */
    public static final String SUCCESS_STRING = "SUCCESS";
    public static final String FAIL_STRING = "FAIL";

    /**
     * 是否（布尔类型）
     */
    public static final boolean TRUE_BOOLEAN = true;
    public static final boolean FALSE_BOOLEAN = false;

    /**
     * 整型默认值- 否
     */
    public static final Integer DEFAULT_INT_NO = 0;
    public static final Integer DEFAULT_INT_YES = 1;

    /**
     * 请求来源-电脑端
     */
    public static final String REQUEST_SOURCE_PC = "PC";
    /**
     * 请求来源-移动端
     */
    public static final String REQUEST_SOURCE_MOB = "MOB";

    /**
     * 请求来源-APP端
     */
    public static final String REQUEST_SOURCE_APP = "APP";
    /**
     * 请求来源-H5
     */
    public static final String REQUEST_SOURCE_H5 = "H5";


    /**
     * 默认系统id
     */
    public static final Byte SYSTEM_ID_DEFAULT = 0;

    public static final Short SYSTEM_ID_DEFAULT_VAL = 0;

}
